package com.clj.cloud.authorization_server.provider;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * todo 实现短信验证码的服务
 */
//@FeignClient(name = "sms", fallback = OrganizationProviderFallback.class)
public interface SmsCodeProvider {

	@GetMapping(value="/sms/{mobile}")
	String getSmsCode(@PathVariable("mobile") String mobile,@RequestParam("businessType") String businessType);
}
